-
-
Notifications
You must be signed in to change notification settings - Fork 747
Work On Issue 18693 - Remove rndtonl from std.math #6429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for your pull request, @JackStouffer! Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub fetch digger
dub run digger -- build "master + phobos#6429" |
|
Looks like ddox is mis-parsing the unittest block and including the next function signature |
(from dlang/DIPs#108) |
wilzbach
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Side note: all of these platform specific math functions which share the C names feel a lot like PHP. This is not how these would be designed if std.math was to be written today, so any instance of these that we can remove/redesign, the better.
Fully agreed. std.math would look quite differently today.
|
@andralex could we get your approval on this one? Thanks! |
f32aefe to
0c2173b
Compare
andralex
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If semantics are not identical, please specify differences in the deprecation message and changelog. Thanks!
6982c86 to
14ab339
Compare
|
does this function even work at all |
14ab339 to
b4f675f
Compare
Nope. |
This function
roundand friendsSide note: all of these platform specific math functions which share the C names feel a lot like PHP. This is not how these would be designed if std.math was to be written today, so any instance of these that we can remove/redesign, the better.